projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e2e22c
)
tools/libacpi: Use 64-byte alignment for FACS
author
Kevin Stefanov
<kevin.stefanov@citrix.com>
Thu, 9 Sep 2021 16:34:39 +0000
(17:34 +0100)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Fri, 10 Sep 2021 12:27:08 +0000
(13:27 +0100)
The spec requires 64-byte alignment, not 16.
Signed-off-by: Kevin Stefanov <kevin.stefanov@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libacpi/build.c
patch
|
blob
|
history
diff --git
a/tools/libacpi/build.c
b/tools/libacpi/build.c
index a61dd5583a1fccdc2f09be663204a8e0d0ada1ad..fe2db66a62e68b92bdcbc1949e0de2900cec6e6c 100644
(file)
--- a/
tools/libacpi/build.c
+++ b/
tools/libacpi/build.c
@@
-532,7
+532,7
@@
int acpi_build_tables(struct acpi_ctxt *ctxt, struct acpi_config *config)
* Fill in high-memory data structures, starting at @buf.
*/
- facs = ctxt->mem_ops.alloc(ctxt, sizeof(struct acpi_20_facs),
16
);
+ facs = ctxt->mem_ops.alloc(ctxt, sizeof(struct acpi_20_facs),
64
);
if (!facs) goto oom;
memcpy(facs, &Facs, sizeof(struct acpi_20_facs));